package com.coinland.study.model;

import com.coinland.study.bean.BaseObjectBean;
import com.coinland.study.bean.LoginBean;
import com.coinland.study.contract.LoginContract;
import com.coinland.study.net.RetrofitClient;

import io.reactivex.Flowable;

/**
 * 类描述:
 * 创建人:  shenZ
 * 创建时间: 2019/8/22
 * 联系方式: 252079249@qq.com
 * 修改时间: 2019/8/22
 */
public class LoginModel implements LoginContract.Model{

    @Override
    public Flowable<BaseObjectBean<LoginBean>> login(String username, String password) {
        return RetrofitClient.getInstance().getApi().login(username,password);
    }


}
